[paket]
tanim   = PDF işleme kitaplığı-Qt5 bağlamları
paketci = yasarciv
grup    = kütüphane
url     = https://poppler.freedesktop.org
arsiv   = "poppler-${surum}"

[gerek]
derleme = cmake boost qt5 libpng tiff lcms2 fontconfig cairo openjpeg2 poppler
calisma =

[kaynak]
1       = ${url}/poppler-${surum}.tar.xz

[sha256]
1       = 5e2219656c6bbd36154133fef2e12b7d0938464518827098b29a10b1697ea79c

[derle]
betik   = export CPLUS_INCLUDE_PATH=/usr/include/openjpeg-2.4
ekconf  = -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_GLIB=OFF -DENABLE_QT5=ON -DENABLE_UTILS=OFF -DENABLE_CPP=OFF
tip     = cmake

[pakur]
tip     = cmake
betik   = rm -f ${PKG}/usr/lib/libpoppler.*
betik   = for f in poppler-cairo poppler-splash poppler; do rm -f ${PKG}/usr/lib/pkgconfig/${f}.pc; done
betik   = mv $PKG/usr/include/poppler/qt5 $PKG/usr/ ; rm -rf $PKG/usr/include/poppler/*
betik   = mv $PKG/usr/qt5 $PKG/usr/include/poppler/
